package com.tarena.verification.response;
/**
 * 返回实体类
 * @author lsc
 *
 */
public class ResponseResult {
	private int code  = 0;
	private boolean succ = false;
	private String msg;
	private Object obj;
	
	
	
	public ResponseResult(int code, boolean succ, String msg) {
		super();
		this.code = code;
		this.succ = succ;
		this.msg = msg;
	}
	public ResponseResult(int code, boolean succ, String msg, Object obj) {
		super();
		this.code = code;
		this.succ = succ;
		this.msg = msg;
		this.obj = obj;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public boolean isSucc() {
		return succ;
	}
	public void setSucc(boolean succ) {
		this.succ = succ;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Object getObj() {
		return obj;
	}
	public void setObj(Object obj) {
		this.obj = obj;
	}
	@Override
	public String toString() {
		return "ResponseResult [code=" + code + ", succ=" + succ + ", msg=" + msg + ", obj=" + obj + "]";
	}
	
	
}
